/*
 * @Descripttion:
 * @version:
 * @Author:
 * @Date: 2020-03-30 14:41:31
 * @LastEditors: bmx2019
 * @LastEditTime: 2020-03-30 16:28:29
 */
import React from 'react';
import { inject, observer } from 'mobx-react';
import Content from './Content';
import { getAntd, getEcCom, getLabel } from '../../../util/convert';

@observer
export default class odocInnerChange extends React.Component {
  constructor(props) {
    super(props)
    this.state = {
      iconSize: 100
    }
  }
  render = () => {
    const { WeaDialog } = getEcCom();
    const { visible, doCancel } = this.props;

    return (
      <WeaDialog ecId={`${this && this.props && this.props.ecId || ''}_WeaDialog@6f535e`}
        visible={visible}
        loadCss={true}
        // initLoadCss={true}
        title={getLabel('388097', '收文单位信息')}
        icon="icon-coms-fawen"
        iconBgcolor='rgb(45, 183, 245)'
        maskClosable={false}
        onCancel={doCancel}
        style={{ width: "600px", height: "290px" }}
        layout={jQuery('.wf-req')[0]}
      >
        {/* <Content {...this.props} /> */}
      </WeaDialog>
    )
  }
  doCancel = () => {
    const { setInnerChangeDialog } = this.props.globalStore;
    setInnerChangeDialog(false);
  }
}